﻿@model KlubSportowy.ViewModels.ClubMemberViewModel

@{
    ViewBag.Title = "Szczegóły";
}

<br />
<h2 style="text-align: center">Szczegóły</h2>
<br /><br />
<table style="margin-left: auto; margin-right: auto">
    <tr style="font-weight: bold; font-style: oblique">
        <td>@Html.DisplayNameFor(m => m.Id)</td>
        <td>@Html.DisplayNameFor(m => m.UserName)</td>
        <td>@Html.DisplayNameFor(m => m.Email)</td>
        <td>@Html.DisplayNameFor(m => m.LastActivity)</td>
        <td>@Html.DisplayNameFor(m => m.LastLogOn)</td>
        <td>@Html.DisplayNameFor(m => m.RegisterDate)</td>
    </tr>
    <tr>
        <td>@Html.DisplayFor(m => m.Id)</td>
        <td>@Html.DisplayFor(m => m.UserName)</td>
        <td>@Html.DisplayFor(m => m.Email)</td>
        <td>@Html.DisplayFor(m => m.LastActivity)</td>
        <td>@Html.DisplayFor(m => m.LastLogOn)</td>
        <td>@Html.DisplayFor(m => m.RegisterDate)</td>
    </tr>
</table>

<p style="margin-left: 50px">
    @Html.ActionLink("Edycja", "Edit", new { id = Model.Id }) |
    @Html.ActionLink("Wróć do listy", "Index")
</p>
